package com.bootcamp.javase.static_0828;

/**
 * @program: StaticCode
 * @description: Transfer by value.
 * @author: Keyu Li
 * @create: 2021-08-28 19:40
 **/

public class ValueTransfer {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        method(a, b); //请自己写一个方法，输出“a = 100 , b = 200”
        System.out.println("a = " + a);
        System.out.println("b = " + b);
    }

    private static void method(int a, int b) {
        System.out.println("a = " + 100);
        System.out.println("b = " + 200);
        System.exit(0);
    }
}
